package mule.model;

//<editor-fold defaultstate="collapsed" desc="Imports">

import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleIntegerProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.scene.image.Image;

//</editor-fold>

/**
 * A child of Tile with a low number of food and energy production, and a high
 * number of ore production per turn.
 *
 * @author stephen
 */
public class MountainTwoTile extends Tile 
{
    //<editor-fold defaultstate="collapsed" desc="Constructor">

    /**
     * Constructor for the two mountain tile, which has 1 food, 1 energy, and 3
     * ore production
     */
    public MountainTwoTile()
    {
        super.canPurchase = new SimpleBooleanProperty( true );
        super.maxFoodProduction = new SimpleIntegerProperty( 1 );
        super.maxEnergyProduction = new SimpleIntegerProperty( 1 );
        super.maxOreProduction = new SimpleIntegerProperty( 3 );
        super.name = new SimpleStringProperty( "mountainOne" ); 
        super.image = new Image( "mule/model/images/mountain_two_tile.png" );
    }

    //</editor-fold>


    //<editor-fold defaultstate="collapsed" desc="Getters and Setters">

    /**
     * Returns the image that will be used to signify a three mountain tile
     * 
     * @return the three mountain tile image to be displayed to the user
     */
    public Image getImage()
    {
        return image;
    }

    /**
     * Gets the image of a food factory on this tile
     * 
     * @return an image of this tile with a food factory
     */
    public Image getFoodImage()
    {
        return new Image( "mule/model/images/mountain_two_tile_food.png" );
    }

    /**
     * Gets the image of an energy factory on this tile
     * 
     * @return an image of this tile with an energy factory
     */
    public Image getEnergyImage()
    {
        return new Image( "mule/model/images/mountain_two_tile_energy.png" );
    }

    /**
     * Gets the image of an ore factory on this tile type
     * 
     * @return an image of this tile with an ore factory
     */
    public Image getOreImage()
    {
        return new Image( "mule/model/images/mountain_two_tile_ore.png" );
    }
    //</editor-fold>
}
